package com.suray.basic.wcs.plc.core;

/**
 * @author shaozn
 * @date 2020/2/14 - 10:08
 * @Description 点位偏移量对象
 */
public class PlcOffset {
    private int addressOffset;
    private Integer bitOffset;

    public PlcOffset(int addressOffset, Integer bitOffset) {
        this.addressOffset = addressOffset;
        this.bitOffset = bitOffset;
    }

    public int getAddressOffset() {
        return addressOffset;
    }

    public Integer getBitOffset() {
        return bitOffset;
    }

    @Override
    public String toString() {
        return "PlcOffset{" +
                "addressOffset=" + addressOffset +
                ", bitOffset=" + bitOffset +
                '}';
    }
}
